﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admins/AdminMaster.Master" AutoEventWireup="true"
    CodeFile="User.aspx.cs" Inherits="admins_User" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="PageName">
        Quản lý người dùng</div>
    <asp:Label ID=lb_messenger runat=server CssClass="lb_messenger"></asp:Label>
    <asp:Panel ID="pnUpdate" runat="server" Visible="true">
        <table class="TableUpdate" border="1">
            <tr>
                <td class="Control" colspan="2">
                    <ul>
                        <li>
                            <asp:LinkButton CssClass="uupdate" ID="lbtUpdateT" runat="server" OnClick="Update_Click">Ghi lại</asp:LinkButton></li>
                        <li>
                            <asp:LinkButton CssClass="uback" ID="lbtBackT" runat="server" OnClick="Back_Click"
                                CausesValidation="False">Trở về</asp:LinkButton></li>
                    </ul>
                </td>
            </tr>
          <%--  <tr>
                <th>
                    <asp:Label ID="lblName" runat="server" Text="Họ tên:"></asp:Label>
                </th>
                <td>
                    <asp:TextBox ID="txtName" runat="server" CssClass="text"></asp:TextBox><asp:RequiredFieldValidator
                        ID="rfvName" runat="server" ControlToValidate="txtName" Display="Dynamic" ErrorMessage="*"
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>--%>
            <tr>
                <th>
                    <asp:Label ID="lblUsername" runat="server" Text="Tên đăng nhập:"></asp:Label>
                </th>
                <td>
                    <asp:TextBox ID="txtUsername" runat="server" CssClass="text" Enabled=false></asp:TextBox><asp:RequiredFieldValidator
                        ID="rfvUsername" runat="server" ControlToValidate="txtUsername" Display="Dynamic"
                        ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lblPassword" runat="server" Text="Mật khẩu:"></asp:Label>
                </th>
                <td>
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" CssClass="datetime"></asp:TextBox>
                </td>
            </tr>

             <tr>
                <th>
                    <asp:Label ID="Label1" runat="server" Text="Nhập lại Mật khẩu:"></asp:Label>
                </th>
                <td>
                    <asp:TextBox ID="txtPassword_re" runat="server" TextMode="Password" CssClass="datetime"></asp:TextBox>
                </td>
            </tr>


            <tr style="display: none">
                <th>
                    <asp:Label ID="lblAdmin" runat="server" Text="Quản trị?:"></asp:Label>
                </th>
                <td>
                    <asp:TextBox ID="txtAdmin" runat="server" CssClass="date"></asp:TextBox>
                </td>
            </tr>
           
            <tr>
                <td class="Control" colspan="2">
                    <ul>
                        <li>
                            <asp:LinkButton CssClass="uupdate" ID="lbtUpdateB" runat="server" OnClick="Update_Click">Ghi lại</asp:LinkButton></li>
                        <li>
                            <asp:LinkButton CssClass="uback" ID="lbtBackB" runat="server" OnClick="Back_Click"
                                CausesValidation="False">Trở về</asp:LinkButton></li>
                    </ul>
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
